package com.example.hetong_system.model.dto;

import com.example.hetong_system.model.Contract;
import com.example.hetong_system.model.Customer;
import com.example.hetong_system.model.Employee;

import java.time.LocalDateTime;

public class ContractWithMilestoneDTO {
    private Long id;
    private String status;
    private String name;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Employee projectManager;
    private Customer customer;
    private Integer milestoneStatus;

    public ContractWithMilestoneDTO(
            Long id, String status, String name, LocalDateTime createTime,
            LocalDateTime updateTime, Employee projectManager, Customer customer,
            Integer milestoneStatus) {
        this.id = id;
        this.status = status;
        this.name = name;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.projectManager = projectManager;
        this.customer = customer;
        this.milestoneStatus = milestoneStatus;
    }

    // Getters and setters
    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    public String getStatus() { return status; }
    public void setStatus(String status) { this.status = status; }
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }
    public LocalDateTime getCreateTime() { return createTime; }
    public void setCreateTime(LocalDateTime createTime) { this.createTime = createTime; }
    public LocalDateTime getUpdateTime() { return updateTime; }
    public void setUpdateTime(LocalDateTime updateTime) { this.updateTime = updateTime; }
    public Employee getProjectManager() { return projectManager; }
    public void setProjectManager(Employee projectManager) { this.projectManager = projectManager; }
    public Customer getCustomer() { return customer; }
    public void setCustomer(Customer customer) { this.customer = customer; }
    public Integer getMilestoneStatus() { return milestoneStatus; }
    public void setMilestoneStatus(Integer milestoneStatus) { this.milestoneStatus = milestoneStatus; }
}